package xdrawer.test;

import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.StackPane;


public class PicturePane extends StackPane {
    private ImageView viewer;

    public PicturePane(){
        viewer = new ImageView();
        this.getChildren().add(viewer);
    }

    public void setImage(Image img){
        viewer.setImage(img);
    }
}
